package com.lemon.components.ant.util.function;

import java.util.List;

import com.system.core.security.NameUtil;

import freemarker.template.SimpleScalar;
import freemarker.template.TemplateMethodModelEx;
import freemarker.template.TemplateModelException;

public class JavaName2_ implements TemplateMethodModelEx {

	@Override
	public Object exec(List arguments) throws TemplateModelException {
		SimpleScalar simpleScalar = (SimpleScalar) arguments.get(0);
		return NameUtil.javaName2_(simpleScalar.getAsString());
	}

}
